package com.example.mybatisplus.service.impl;

import com.example.mybatisplus.model.domain.Students;
import com.example.mybatisplus.mapper.StudentsMapper;
import com.example.mybatisplus.service.StudentsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lxp
 * @since 2024-07-24
 */
@Service
public class StudentsServiceImpl extends ServiceImpl<StudentsMapper, Students> implements StudentsService {
    @Autowired
    private  StudentsMapper studentsMapper;
    @Override
    public Students getStudentById(String studentId) {
        return  studentsMapper.selectByStudentId(studentId);
    }
}
